<%@ page import="org.xilin.Family" %>
<%@ page import="org.xilin.Student" %>

<div class="GFBox" style="margin-left: 20px; margin-right: 80px;">
  <g:if test="${flash.message}">
    <div class="message">${flash.message}</div>
  </g:if>
  <div>
      <table border="1" class="tablesorter">
      <thead><b>Select A Student</b></thead>
      <tbody>
      <g:each in="${familyInstance?.students?}" status="i" var="s">
      <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
        <td>Register Class For: <a href="javascript:void(0)" onclick="$('.content').load('${request.contextPath}/classRegister/selectSemester?id=${s?.id}', {cache:false})">${s?.firstName + ' ' + s?.lastName} </a><td>
      </tr>
      </g:each>
      </tbody>
    </table>
  

  </div>
</div>


  